<g:each in="${map}">
  <g:checkBox name="${prefix + it.key.id}" value="${it.value}" />
  ${it.key}<br />
</g:each>
